
package chat.application.client;

import java.io.*;
import java.net.*;

import java.net.URL;

import javax.xml.namespace.QName;
import javax.xml.ws.BindingProvider;
import javax.xml.parsers.*;
import org.xml.sax.InputSource;
import org.w3c.dom.*;
import java.io.*;

public class User {
    
    //private vars
    private String _userName;
    private InetAddress _ipAddress;
    
    //constructor called to fill object
    public void User(String userName, InetAddress ipAddress)
    {
        _userName = userName;
        _ipAddress = ipAddress;
    }
    
    //public getters and setters
   public String getUserName() {   
   return _userName;
   }
   
   public void setUserName(String userName) {
       _userName = userName;
   }
   
   public InetAddress getIpAddress() {   
   return _ipAddress;
   }
   
   public void setIpAddress(InetAddress ipAddress) {
       _ipAddress = ipAddress;
   }
}  

